package com.wanxs.mall.auth.feign;


import com.wanxs.mall.common.utils.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("third-server")
public interface ThirdPartFeignService {
    @GetMapping("/sms/sendcode")
    public Result sendSmsCode(@RequestParam("phone") String phone, @RequestParam("code") String code);
}
